@import url(../FixedAssets/index.less);

.ridingpage {

  :global {
    .ant-input-affix-wrapper {
      .ant-input-suffix {
        opacity: 0.4;
        font-size: 12px;
        transform: scale(0.83);
        transform-origin: left;
        margin-right: 2px;
        margin-top: 2px;
      }

      input.ant-input {
        height: 26px;
      }
    }
  }
}

.customDatePicker {
  >span:first-child {
    margin-right: 8px;
  }
}

.chartHead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
  padding: 0px 12px;

  >span:first-child {
    font-size: 13px;
    color: #35425e;
    font-weight: 600;
  }
}

.ridingTable {
  :global {
    .ant-table-container {

      .ant-table-thead>tr>th,
      .ant-table-tbody>tr>td {
        color: #35425E;
        border-bottom: 1px solid #CED7E8;
        border-right: 1px solid #CED7E8 !important;
        white-space: normal;
        line-height: 16px;

        &:last-child {
          // border-right: unset !important;
        }
      }

      .ant-table-tbody>tr>td {
        text-align: right;
        padding-right: 8px;
      }

      .ant-table-tbody>tr>td:first-child {
        padding-right: 0px;
      }

      .ant-table-thead>tr>th {
        padding: 2px 4px;
      }

      .ant-table-thead>tr>th {
        font-weight: 600;
        background-color: #E0E4EC;
      }

      .ant-table-tbody>tr>td:nth-child(1) {
        background-color: #E0E4EC;
      }

      .ant-table-cell-scrollbar {
        box-shadow: unset;
      }
    }
  }
}

.tableTitle {
  text-align: center;
  >div {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}